﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Hk.Core.Extensions
{
    public class BaseDbContext
    {
        protected static HkEntities _db = new HkEntities();
        public void Save()
        {
            _db.SaveChanges();
        }
        public void ClearDb()
        {
            _db = new HkEntities();
        }

    }
}
